IBM Books

Using and Configuring Features Version 3.4


The WAN Reroute Feature

This chapter describes the WAN reroute feature. It includes the following sections:


WAN Reroute Overview

WAN Reroute lets you set up an alternate route so that if a primary link fails, the router automatically initiates a new connection to the destination through the alternate route. See "Overview for WAN Restoral, WAN Reroute, and Dial-on-Overflow" for an explanation of WAN Restoral, and how WAN Reroute and Dial-on-overflow work together.

The WAN Reroute process involves:

  1. Detecting the primary link failure
  2. Switching to the alternate link
  3. Detecting the primary link recovery
  4. Switching back to the primary link

The alternate link can be any link on which you can configure routable protocols (for example, IP, IPX) and the datalink type of the alternate link need not match the datalink type of the primary link. For example, the alternate link can be a LAN interface, a PPP, Frame Relay, or X.25 serial interface, or a PPP or Frame Relay dial circuit. The following are examples of interface types that cannot be alternate links: SDLC serial interfaces, SRLY serial interfaces, and base nets like V.25 bis and ISDN.
Note:If the primary link or alternate link is a dial circuit, that dial circuit cannot be configured for dial-on-demand. Use the set idle 0 command at the Circuit Config> prompt to configure the dial circuit so that it cannot perform dial-on-demand. Refer to "Configuring and Monitoring Dial Circuits" in the Access Integration Services Software User's Guide for more information.

Figure 3. WAN Reroute. Normally, there is a connection between Routers A and B and Routers A and C. If the primary link between routers A and B fails, WAN reroute establishes an alternate link between routers B and C. Routers A and B can then communicate through router C.

WAN Reroute

Dial-on-Overflow

Dial-on-overflow allows you to use an alternate interface for IP traffic when the traffic rate on the primary link reaches a specified threshold. This means that the primary interface does not have to be down before the alternate link is brought up. When the primary interface's traffic reaches the specified threshold the router brings up the alternate link. To use dial-on-overflow, WAN Reroute must be configured and the primary interface must be Frame Relay. IP is the only protocol that can be switched over to the alternate interface by dial-on-overflow. Also, OSPF should be used as the IP routing protocol instead of RIP when dial-on-overflow is used.

For information about configuring dial-on-overflow, see "WAN Restoral, WAN Reroute, and Dial-on-Overflow Configuration Commands".

Bandwidth Monitoring

The interval for bandwidth monitoring can be specified for dial-on-overflow during WAN Reroute configuration. The primary interface's receive and transmit bandwidth utilization are monitored. When the primary interface's bandwidth reaches the add threshold, a WAN Reroute request is generated to bring up the alternate interface. If WAN Reroute is successful bringing up the alternate interface, IP stops routing over the primary interface and starts routing over the alternate interface.

If WAN Reroute is not successful in bringing up the alternate route it periodically attempts to bring up the alternate interface until the primary interface's bandwidth utilization drops below the drop threshold.

When the primary interface's receive and transmit bandwidth utilization reaches the drop threshold and the minimum configured up time has expired the alternate interface is dropped. This causes IP to stop routing over the alternate interface and start using the primary interface.

The add-threshold and the drop-threshold are specified as a percentage of the configured line speed for the primary link. The configured line speed does not always match the actual speed of the link. The amount of traffic on the link in each direction is calculated separately. The threshold is exceeded if the traffic in either direction is greater then the specified percentage.


Configuring WAN Reroute

Following are the steps required to configure WAN reroute. The next section shows an example of how to perform these tasks.

To configure WAN Reroute, you need to:

  1. Configure the primary link.
  2. Configure the alternate link.
  3. Assign the alternate link to the primary link. You can also specify a stabilization period for the primary link.

    You can specify a time-of-day revert-back to the primary link which will happen after the stabilization period is over (if configured). This allows the secondary to stay up until such time that the user desires and revert back to the primary during off-peak hours.
    Note:The primary and alternate links can be different datalink types. The primary and alternate links can be:
    • A LAN interface.
    • A PPP serial interface.
    • A Frame Relay serial interface.
    • An X.25 serial interface.
    • A PPP dial circuit.
    • A Frame Relay dial circuit.

Sample WAN Reroute Configuration

Figure 4 shows WAN reroute using a Frame Relay dial circuit over ISDN as the alternate link. If the Frame Relay DLCI between router A and router C fails, WAN reroute uses the dial circuit to establish an alternate connection through router D. If one of the primary links from a branch to headquarters fails, WAN reroute establishes an alternate route to headquarters through another branch.

Figure 4. Sample WAN Reroute Configuration. Branch offices use frame relay to connect to headquarters.

Sample WAN Reroute Configuration

The following sections describe how to set up WAN reroute on Router A in Figure 4. You will need to:

These tasks are described in detail below.

Configuring the Frame Relay Interface

To configure the frame relay interface for WAN reroute, on Router A, add a PVC between Routers A and C on the primary Frame Relay interface.

To cause the primary FR interface to declare itself down when the connection to other router(s) is lost, you have three options:

  1. Enable the No-PVC feature. When this feature is enabled, the FR interface goes down when there are no active PVCs.
  2. Configure a PVC as required but don't include the PVC in a required PVC group. In this case, the FR interface goes down when the PVC becomes inactive.
  3. Configure a set of PVCs as required and as part of a required PVC group. In this case, the FR interface goes down when all of the PVCs of a required PVC group become inactive.

Follow these steps to configure the primary Frame Relay interface:

  1. If you have not yet done so, set the data link on the ISDN interface to Frame Relay.
    Config>set data-link frame relay
    Interface Number [0]? 2
    
  2. Enter the Frame Relay configuration process.
    Config>network
    What is the network number [0]?2
    Frame Relay user configuration
    FR Config>
    

    Note:Complete only one of the two remaining steps for configuring the primary frame relay interface.

  3. Add a PVC using the add permanent-virtual-circuit command.

    To configure the PVC as Required:

    Enter y to the question "Is circuit required for interface operation ?".

    To configure the PVC as a member of a required PVC group:

    1. Enter y to the question "Does circuit belong to a Required PVC group ?".
    2. Enter a group name in response to the question "What is the group name ?".

    If you have already added PVCs, use the change permanent-virtual-circuit command to configure the PVC as Required and to assign it to a Required PVC Group, as appropriate. Refer to Using Frame Relay Interfaces in Access Integration Services Software User's Guide for more information.

    FR Config>add permanent-virtual-circuit
    Circuit number [16]?
    Committed Information Rate (CIR) in bps [64000]?
    Committed Burst Size (Bc) in bits [64000]?
    Excess Burst Size (Be) in bits [0]?
    Assign circuit name []?
    Is circuit required for interface operation [N]?y
    Does the circuit belong to a required PVC group [N]? y
    What is the group name []?group1
    
  4. If desired, enable the No-PVC feature.
    Note:Complete this step only if you bypassed the previous step.
    FR Config>enable no-pvc
    

There are additional parameters that you can set for frame relay. For more information, see 'Using Frame Relay' in Access Integration Services Software User's Guide.

Configuring the ISDN Interface and Dial Circuit

Configure the ISDN interface and dial circuit between Router A and Router D. See 'Using the ISDN Interface' in Access Integration Services Software User's Guide for information on how to configure ISDN interfaces and dial circuits.

Unlike WAN Restoral, you must configure routable protocols on the dial circuit that will be used as the alternate link. If those routable protocols cannot be prevented from sending maintenance packets, the alternate link will establish a connection even if rerouting is not necessary. In this case if you want to use the alternate link only for rerouting, disable the dial circuit. To disable the dial circuit, enter the disable interface command at the Config> prompt.

If you have multiple dial circuits assigned to the ISDN interface, you can set a priority for the dial circuits. If all the B channels have active dial circuits on the physical interface and a circuit with a higher priority receives a packet, the lowest priority connection is terminated and the high priority circuit establishes a connection.

You can set the priority to between 0 and 15, where 15 is the highest priority circuit and 0 is the lowest priority circuit. The default priority for new dial circuits is 8. Enter set priority at the Circuit Config> prompt to change the priority.

Assigning and Configuring the Alternate Link

Enter the WAN reroute configuration process to assign the dial circuit as the alternate link for a LAN interface, a PPP, Frame Relay, or X.25 serial interface, or a PPP or Frame Relay dial circuit, and if desired, to specify the stabilization periods and/or the time-of-day revert-back window.

There are three types of stabilization periods:

The time-of-day revert-back window is the specific time of day when the user desires the switch back to the primary after it is up and any configured stability time has passed.

Using a 24-hour clock, the user specifies the start and stop hours of the revert back window. The secondary stays up and is not taken down until the start hour is reached. If the time of day when the primary comes up is between the start and stop hours (in the window) then the switch to the primary link is immediate after the stability time is up.

Follow these steps to assign and configure the alternate link:

  1. Enter the WAN Restoral configuration process.
    Config>feature wrs
    WAN Restoral user configuration
    
  2. Assign the dial circuit as the alternate link for the primary frame relay interface.
    WRS Config>add alternate-circuit
    Alternate interface number  [0]? 4
    Primary interface number  [0]? 1
    
  3. Enable the alternate circuit.
    WRS Config>enable alternate-circuit
    Alternate interface number  [0]? 4
    
  4. Optionally, specify a first stabilization period.

    To set the first stabilization period for a specific primary interface, use the set first-stabilization-period command. To set a default first stabilization period for all interfaces that do not have specific periods set, use the set default first-stabilization-period command.

    WRS Config>set first-stabilization-period
    Primary interface number [0]?
    First primary stabilization time (0 - 3600 seconds -1=default) [-1]?
     
    WRS Config>set default first-stabilization-period
    Default first primary stabilization time (0 - 3600 seconds) [0]?
    
  5. Optionally, specify a stabilization period. To set a stabilization period for specific interfaces use the set stabilization-period command. To set a default stabilization period for all interfaces that do not have specific periods set, use the set default stabilization-period command.
    WRS Config>set stabilization-period
    Primary interface number [0]?
    First primary stabilization time (0 - 3600 seconds -1=default) [-1]?
    WRS Config>set default stabilization-period
    Default first primary stabilization time (0 - 3600 seconds) [0]?
    
  6. Optionally, specify a routing stabilization period. To set a routing stabilization period for specific interfaces use the set routing-stabilization command.
    WRS Config>set routing-stabilization
    Primary interface number [0]? 1
    Routing stabilization time (0 - 3600 seconds) [15]?
     
    
  7. Optionally, specify a time-of-day-revert-back window.

    To set the start and stop times for specific interface windows use the set start-time-of-day-revert-back and stop-time-of-day-revert-back commands. The default value of zero means no window is configured. The 24-hour clock starts at 1 a.m. and ends at 24 midnight. If the start and stop times are the same (but not zero) then the revert back will happen at exactly that hour.

    Following are two examples of setting the revert-back window:

    1. A start time of 23 and a stop time of 3 will give a revert-back window from 11 p.m. until 3 a.m.
    2. A start time of 1 and a stop time of 5 will give a revert-back window from 1 a.m. to 5 a.m.

    WRS Config> set start-time-of-day-revert-back
    Primary interface number [0]?
    Time-of-Day revert back window start (1 - 24 hours, 0 = not configured) [0]?
    WRS Config> set stop-time-of-day-revert-back
    Primary interface number [0]?
    Time-of-Day revert back window stop (1 - 24 hours, 0 = not configured) [0]?
    


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]